package com.zhangxin.aiInterview.model.vo.response;

import lombok.Data;

import java.util.List;

@Data
public class GetExamAnalyzeResultResponse {
    // 选择题
    private Choices choices;
    // 问答题
    private ShortAnswers shortAnswers;
    // 编程题
    private Programmings programmings;

    @Data
    public static class Choices {
        private Integer totalScore;
        private List<Choice> list;
    }

    @Data
    public static class Choice {
        private String questionTitle;
        private String user_answer;
        private String user_answer_content;
        private String correct_answer;
        private String correct_answer_content;
    }

    @Data
    public static class ShortAnswers {
        private Integer totalScore;
        private List<ShortAnswer> list;
    }

    @Data
    public static class ShortAnswer {
        private String questionTitle;//题目
        private Integer score;//每道题的分数
        private String user_answer;//用户回答
        private String correct_answer;//正确答案
    }

    @Data
    public static class Programmings {
        private Integer totalScore;
        private List<Programming> list;
    }

    @Data
    public static class Programming {
        private String questionTitle;
        private String user_answer;
        private String correct_answer;
    }
}
